package com.ruoyi.user.model;


import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;

@Schema(name = "LoginInfo", description = "用户登录信息")
public class LoginInfo implements Serializable {
    
    @Schema(description = "登录类型 1:手机号登录 2:邮箱登录")
    private int type;

    @Schema(description = "手机号")
    private String phone;

    @Schema(description = "邮箱")
    private String email;
    
    @Schema(description = "密码")
    private String password;

    @Schema(description = "验证码Token 图片验证码接口返回的uuid")
    public String captchaToken;
    @Schema(description = "验证码 验证码的结果")
    public String captcha;

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCaptchaToken() {
        return captchaToken;
    }

    public void setCaptchaToken(String captchaToken) {
        this.captchaToken = captchaToken;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}